package com.cmc.cloud.cmclink.doc.convert;

import com.cmc.cloud.cmclink.doc.api.document.rep.rule.LimitRuleItemRespDto;
import com.cmc.cloud.cmclink.doc.api.document.rep.rule.LimitRuleRespDto;
import com.cmc.cloud.cmclink.doc.entity.LimitRuleDO;
import com.cmc.cloud.cmclink.doc.entity.LimitRuleItemDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author lzp
 */
@Mapper
public interface LimitRuleItemConvert {
    LimitRuleItemConvert INSTANCE = Mappers.getMapper(LimitRuleItemConvert.class);

    /**
     * 属性转换
     *
     * @param limitRuleItemDo
     * @return
     */
    LimitRuleItemRespDto convertLimitRuleRespDto(LimitRuleItemDO limitRuleItemDo);
}
